package com.proxy.callbackFilter;

import java.lang.reflect.Method;

import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;

public class ConcreteClassInterceptor implements MethodInterceptor {

	@Override
	public Object intercept(Object paramObject, Method paramMethod, Object[] paramArrayOfObject, MethodProxy paramMethodProxy) throws Throwable {
		System.out.println("before method run...");
        Object result = paramMethodProxy.invokeSuper(paramObject, paramArrayOfObject);
        System.out.println("after method run...");
        return result;
	}

}
